<?php
/**
 * PDO操作对象
 * 
 * @author cy
 *
 */
namespace library\Core\Db;

class CDbSqlPrepare
{
    public $dbName = '';
    public $adapter = '';
    public $sqlStr = null;
    public $bindVal = array();
    
    public function __construct($dbName = '', $adapter = '')
    {
        $this->dbName = $dbName;
        $this->adapter = $adapter;
    }
    
    public function getSql(){
        return $this->sqlStr;
    }
    
    public function getBindVal(){
        return $this->bindVal;
    }
    
    public function setSql($sql){
        $this->sqlStr = $sql;
    }
    
    public function setBindVal($bindVal){
        $this->bindVal = $bindVal;
    }
}
